/*
 * Copyright (C) 2017 Pingan, Inc. All Rights Reserved.
 */

package com.pingan.haofang.searchcloud.web.index.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 集群信息
 *
 * @author zhangbi617
 * @date 2017-07-19
 */
@ApiModel(description = "集群信息")
public class ClusterVo {

    public ClusterVo(String name, String description, boolean disableCreate) {
        this.name = name;
        this.description = description;
        this.disableCreate = disableCreate;
    }

    /**
     * 名称（唯一标识）
     */
    @ApiModelProperty(value = "名称（唯一标识）")
    private String name;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String description;

    /**
     * 是否允许创建
     */
    @ApiModelProperty(value = "是否允许创建")
    private boolean disableCreate;



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public boolean isDisableCreate() {
        return disableCreate;
    }

    public void setDisableCreate(boolean disableCreate) {
        this.disableCreate = disableCreate;
    }
}
